500
How can I get the number of results after a filter is applied

// Click event - Occurs when the user presses and then releases the left mouse button over the list control.
void onEvent_Click()
{
	;
	exlist1.ClearFilter();
}

// FilterChange event - Occurs when filter was changed.
void onEvent_FilterChange()
{
	;
	print( "Items.MatchItemCount" );
	print( exlist1.Items().MatchItemCount() );
	print( exlist1.FormatABC("value < 0 ? `filter applied: ` + abs(value + 1) + ` result(s)` : `no filter`",exlist1.Items().MatchItemCount()) );
}

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	COM::createFromVariant(exlist1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item A");
		com_Items.Add("Item B");
		com_Items.Add("Item C");
	exlist1.FilterBarPromptVisible(1/*exFilterBarPromptVisible*/);
	exlist1.FilterBarPromptPattern("Item");
	exlist1.EndUpdate();
}
499
How can I programmatically clear the control's filter
// Click event - Occurs when the user presses and then releases the left mouse button over the list control.
void onEvent_Click()
{
	;
	exlist1.ClearFilter();
}

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	COM::createFromVariant(exlist1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item A");
		com_Items.Add("Item B");
		com_Items.Add("Item C");
	exlist1.FilterBarPromptVisible(1/*exFilterBarPromptVisible*/);
	exlist1.FilterBarPromptPattern("B");
	exlist1.EndUpdate();
}
498
Is it possible to prevent closing the control's filter bar, so it is always shown (prompt-combined)

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	COM::createFromVariant(exlist1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item A");
		com_Items.Add("Item B");
		com_Items.Add("Item C");
	exlist1.FilterBarPromptPattern("B");
	exlist1.FilterBarPromptVisible(3/*exFilterBarVisible | exFilterBarPromptVisible*/);
	var_Column1 = COM::createFromObject(exlist1.Columns()).Item(COMVariant::createFromInt(0)); com_Column1 = var_Column1;
		com_Column1.FilterType(240/*exFilter*/);
		com_Column1.Filter("Item B");
	exlist1.ApplyFilter();
	exlist1.EndUpdate();
}
497
Is it possible to prevent closing the control's filter bar, so it is always shown (prompt)

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	COM::createFromVariant(exlist1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item A");
		com_Items.Add("Item B");
		com_Items.Add("Item C");
	exlist1.FilterBarPromptVisible(1/*exFilterBarPromptVisible*/);
	exlist1.FilterBarPromptPattern("B");
	exlist1.EndUpdate();
}
496
Is it possible to prevent closing the control's filter bar, so it is always shown

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	COM::createFromVariant(exlist1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item A");
		com_Items.Add("Item B");
		com_Items.Add("Item C");
	exlist1.FilterBarCaption("len(value) = 0 ? `<fgcolor=808080>no filter` : value");
	exlist1.FilterBarPromptVisible(2/*exFilterBarVisible*/);
	var_Column1 = COM::createFromObject(exlist1.Columns()).Item(COMVariant::createFromInt(0)); com_Column1 = var_Column1;
		com_Column1.FilterType(240/*exFilter*/);
		com_Column1.Filter("Item B");
	exlist1.ApplyFilter();
	exlist1.EndUpdate();
}
495
How can I find if the control is running in DPI mode
public void init()
{
	;

	super();

	print( exlist1.FormatABC("dpi = 1 ? `normal/stretch mode` : `dpi mode`") );
}
494
I am using single selection, the question is if possible to select an item only when the user releases the mouse, as currently it selects the item as soon as the user clicks it
// SelectionChanged event - Fired after a new item is selected.
void onEvent_SelectionChanged()
{
	;
	print( "SelectionChanged" );
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.FreezeEvents(true);
	exlist1.SingleSel(true);
	exlist1.SelectOnRelease(true);
	COM::createFromVariant(exlist1.Columns().Add("Column")).FormatColumn("1 apos `A-Z`");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("");
		com_Items.SelectItem(com_Items.Add(""),true);
		com_Items.Add("");
	exlist1.FreezeEvents(false);
	exlist1.EndUpdate();
}
493
Is it possible to select nothing
// SelectionChanged event - Fired after a new item is selected.
void onEvent_SelectionChanged()
{
	;
	print( "SelectionChanged" );
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.FreezeEvents(true);
	exlist1.AllowSelectNothing(true);
	COM::createFromVariant(exlist1.Columns().Add("Column")).FormatColumn("1 apos `A-Z`");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("");
		com_Items.SelectItem(com_Items.Add(""),true);
		com_Items.Add("");
	exlist1.FreezeEvents(false);
	exlist1.EndUpdate();
}
492
How do I change the drop down filter icon/button (black)

public void init()
{
	COM com_Appearance,com_Column,com_Items;
	anytype var_Appearance,var_Column,var_Items;
	str var_s;
	;

	super();

	exlist1.BeginUpdate();
	var_Appearance = exlist1.VisualAppearance(); com_Appearance = var_Appearance;
		var_s = "gBFLBCJwBAEHhEJAAEhABXUIQAAYAQGKIcBiAKBQAGYBIJDEMgzDDAUBjKKocQTC4AIQjCK4JDKHYJRpHEZyCA8EhqGASRAFUQBYiWE4oSpLABQaK0ZwIGyRIrkGQgQg";
		var_s = var_s + "mPYDSDNU4zVIEEglBI0TDNczhNDENgtGYaJqHIYpZBcM40TKkEZoSIITZcRrOEBiRL1S0RBhGcRUHZlWzdN64LhuK47UrWdD/XhdVzXRbjfz1Oq+bxve48Br7A5yYThd";
		var_s = var_s + "r4LhOFQ3RjIL4xbIcUwGe6VZhjOLZXjmO49T69HTtOCYBEBA";
		com_Appearance.Add(1,COMVariant::createFromStr(var_s));
	exlist1.Background(32/*exCursorHoverColumn*/,-1);
	exlist1.Background(0/*exHeaderFilterBarButton*/,0x1000000);
	exlist1.Background(26/*exBackColorFilter*/,WinApi::RGB2int(0,0,1));
	exlist1.Background(27/*exForeColorFilter*/,WinApi::RGB2int(255,255,255));
	exlist1.Description(25/*exFilterBarExclude*/,"<bgcolor 0><fgcolor ffffff> Exclude </fgcolor></bgcolor>");
	exlist1.HeaderAppearance(0/*None2*/);
	exlist1.BackColorHeader(WinApi::RGB2int(0,0,0));
	exlist1.ForeColorHeader(WinApi::RGB2int(255,255,255));
	exlist1.HeaderVisible(true);
	exlist1.BackColorLevelHeader(exlist1.BackColor());
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Filter")); com_Column = var_Column;
		com_Column.FilterList(8448/*exShowExclude | exShowCheckBox*/);
		com_Column.DisplayFilterButton(true);
		com_Column.AllowSort(false);
		com_Column.AllowDragging(false);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("One");
		com_Items.Add("Two");
		com_Items.Add("Three");
	exlist1.EndUpdate();
}
491
How do I change the drop down filter icon/button (white)

public void init()
{
	COM com_Appearance,com_Column;
	anytype var_Appearance,var_Column;
	str var_s;
	;

	super();

	exlist1.BeginUpdate();
	var_Appearance = exlist1.VisualAppearance(); com_Appearance = var_Appearance;
		var_s = "gBFLBCJwBAEHhEJAAEhABX8GACAADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKNYykCIRSDUJYkSZEIyjBI8ExXFqNACkGKwYgmNYiTLAcgANJ";
		var_s = var_s + "0WBaGIZJ4gOT5fDKMoEDRRYADFCscwxJybQAqGQKKb+VgAVY/cTyBIAEQSKA0TDOQ5TSKWB4JPZQRBEbZMNBtBIUJquKaqShdQJCU5FdY3Xblez9P7AMBwLFEC4NQ8YN";
		var_s = var_s + "YuPhjR4dRTIMhvVAsUArFh8Zg9GZZFjmDIDT4ydBLTQwcyVIKnP5qOa6XbmPoCQDYKxZHYxPzVDa3axuL76dqCAT7XrXNy1TbNRrzQKfcJqfCbdw2YaDZLOOT3fjuI4h";
		var_s = var_s + "hKaRzFAHJ+jYQ4xHuY4gHuGIXGeExqC8Tp6C+PoEm+G5ImycRgh0XwvDGa5rgOeoejyXwnFeQp2mkf5ClgBB9gCWIYAwfYAEKV58mkdwOggNArgOXY2EWLoDkKOA0mgb";
		var_s = var_s + "hOGgZApgaSBIHWSYHSmbApgYThmESZYJkIeIkgeCpfliLIHgpMIcmUYYYmODAlg2SI4mWfRfGOEguDcCRjFYAJihCQhJBSDoRmONgKEcI4kFCEJhhOVYTmYnAlEAQhWB";
		var_s = var_s + "MJYJGYWoWmWSR2F6F5lnkWAQhUAgpEieRWEuSYkjWGpmkmNhuhuZwJkYcocmaaYkjyEhngnUA6lEFAlAEgI=";
		com_Appearance.Add(2,COMVariant::createFromStr(var_s));
		com_Appearance.Add(1,"CP:2 -14 -4 -2 4");
	exlist1.Background(0/*exHeaderFilterBarButton*/,0x1000000);
	exlist1.Background(32/*exCursorHoverColumn*/,exlist1.BackColor());
	exlist1.HeaderAppearance(0/*None2*/);
	exlist1.BackColorHeader(WinApi::RGB2int(255,255,255));
	exlist1.HeaderVisible(true);
	exlist1.HeaderHeight(24);
	exlist1.BackColorLevelHeader(exlist1.BackColor());
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Filter")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.AllowSort(false);
		com_Column.AllowDragging(false);
	exlist1.EndUpdate();
}
490
Can I display the column's multiple-lines caption vertically oriented (method 2)

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Column2,var_Columns,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.HeaderHeight(48);
	exlist1.ColumnAutoResize(true);
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("And others ...");
		var_Column = COM::createFromVariant(com_Columns.Add("")); com_Column = var_Column;
			com_Column.HTMLCaption("First Column");
			com_Column.HeaderVertical(true);
			com_Column.Width(36);
			com_Column.AllowSizing(false);
			com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
			com_Column.Def(48/*exCellPaddingLeft*/,COMVariant::createFromInt(8));
			com_Column.Position(0);
		var_Column1 = COM::createFromVariant(com_Columns.Add("")); com_Column1 = var_Column1;
			com_Column1.HTMLCaption("<c><b>Second Column");
			com_Column1.HeaderVertical(true);
			com_Column1.Width(36);
			com_Column1.AllowSizing(false);
			com_Column1.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
			com_Column1.Def(48/*exCellPaddingLeft*/,COMVariant::createFromInt(8));
			com_Column1.Position(1);
		var_Column2 = COM::createFromVariant(com_Columns.Add("")); com_Column2 = var_Column2;
			com_Column2.HTMLCaption("<r>Third Column");
			com_Column2.HeaderVertical(true);
			com_Column2.Width(36);
			com_Column2.AllowSizing(false);
			com_Column2.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
			com_Column2.Def(48/*exCellPaddingLeft*/,COMVariant::createFromInt(8));
			com_Column2.Position(2);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.CellState(com_Items.Add("Item 1"),COMVariant::createFromInt(3),1);
		com_Items.CellState(com_Items.Add("Item 2"),COMVariant::createFromInt(2),1);
		com_Items.CellState(com_Items.Add("Item 3"),COMVariant::createFromInt(1),1);
	exlist1.EndUpdate();
}
489
Can I display the column's multiple-lines caption vertically oriented (method 1)

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Column2,var_Columns,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.HeaderHeight(48);
	exlist1.HeaderSingleLine(false);
	exlist1.ColumnAutoResize(true);
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("And others ...");
		var_Column = COM::createFromVariant(com_Columns.Add("First Column")); com_Column = var_Column;
			com_Column.HeaderVertical(true);
			com_Column.Width(36);
			com_Column.AllowSizing(false);
			com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
			com_Column.Def(48/*exCellPaddingLeft*/,COMVariant::createFromInt(8));
			com_Column.Position(0);
		var_Column1 = COM::createFromVariant(com_Columns.Add("Second Column")); com_Column1 = var_Column1;
			com_Column1.HeaderBold(true);
			com_Column1.HeaderVertical(true);
			com_Column1.Width(36);
			com_Column1.AllowSizing(false);
			com_Column1.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
			com_Column1.Def(48/*exCellPaddingLeft*/,COMVariant::createFromInt(8));
			com_Column1.Position(1);
		var_Column2 = COM::createFromVariant(com_Columns.Add("Third Column")); com_Column2 = var_Column2;
			com_Column2.HeaderVertical(true);
			com_Column2.Width(36);
			com_Column2.AllowSizing(false);
			com_Column2.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
			com_Column2.Def(48/*exCellPaddingLeft*/,COMVariant::createFromInt(8));
			com_Column2.Position(2);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.CellState(com_Items.Add("Item 1"),COMVariant::createFromInt(3),1);
		com_Items.CellState(com_Items.Add("Item 2"),COMVariant::createFromInt(2),1);
		com_Items.CellState(com_Items.Add("Item 3"),COMVariant::createFromInt(1),1);
	exlist1.EndUpdate();
}
488
Can I display the column's caption vertically oriented (method 2)

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Column2,var_Columns,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.HeaderHeight(48);
	exlist1.ColumnAutoResize(true);
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("And others ...");
		var_Column = COM::createFromVariant(com_Columns.Add("")); com_Column = var_Column;
			com_Column.HTMLCaption("First");
			com_Column.HeaderVertical(true);
			com_Column.Width(20);
			com_Column.AllowSizing(false);
			com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
			com_Column.Position(0);
		var_Column1 = COM::createFromVariant(com_Columns.Add("")); com_Column1 = var_Column1;
			com_Column1.HTMLCaption("<c><b>Second");
			com_Column1.HeaderVertical(true);
			com_Column1.Width(20);
			com_Column1.AllowSizing(false);
			com_Column1.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
			com_Column1.Position(1);
		var_Column2 = COM::createFromVariant(com_Columns.Add("")); com_Column2 = var_Column2;
			com_Column2.HTMLCaption("<r>Third");
			com_Column2.HeaderVertical(true);
			com_Column2.Width(20);
			com_Column2.AllowSizing(false);
			com_Column2.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
			com_Column2.Position(2);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.CellState(com_Items.Add("Item 1"),COMVariant::createFromInt(3),1);
		com_Items.CellState(com_Items.Add("Item 2"),COMVariant::createFromInt(2),1);
		com_Items.CellState(com_Items.Add("Item 3"),COMVariant::createFromInt(1),1);
	exlist1.EndUpdate();
}
487
Can I display the column's caption vertically oriented (method 1)

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Column2,var_Columns,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.HeaderHeight(48);
	exlist1.ColumnAutoResize(true);
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("And others ...");
		var_Column = COM::createFromVariant(com_Columns.Add("First")); com_Column = var_Column;
			com_Column.HeaderVertical(true);
			com_Column.Width(20);
			com_Column.AllowSizing(false);
			com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
			com_Column.Position(0);
		var_Column1 = COM::createFromVariant(com_Columns.Add("Second")); com_Column1 = var_Column1;
			com_Column1.HeaderBold(true);
			com_Column1.HeaderVertical(true);
			com_Column1.Width(20);
			com_Column1.AllowSizing(false);
			com_Column1.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
			com_Column1.Position(1);
		var_Column2 = COM::createFromVariant(com_Columns.Add("Third")); com_Column2 = var_Column2;
			com_Column2.HeaderVertical(true);
			com_Column2.Width(20);
			com_Column2.AllowSizing(false);
			com_Column2.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
			com_Column2.Position(2);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.CellState(com_Items.Add("Item 1"),COMVariant::createFromInt(3),1);
		com_Items.CellState(com_Items.Add("Item 2"),COMVariant::createFromInt(2),1);
		com_Items.CellState(com_Items.Add("Item 3"),COMVariant::createFromInt(1),1);
	exlist1.EndUpdate();
}
486
How do I get sorted the column as string, numeric, date, date and time. Also how can it be applied to drop down filter panel

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Column3,com_Column4,com_Column5,com_Items;
	anytype var_Column,var_Column1,var_Column2,var_Column3,var_Column4,var_Column5,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Date")); com_Column = var_Column;
		com_Column.SortType(2/*SortDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterList(1296/*exShowFocusItem | exShowCheckBox | exSortItemsDesc*/);
	var_Column1 = COM::createFromVariant(exlist1.Columns().Add("DateTime")); com_Column1 = var_Column1;
		com_Column1.SortType(3/*SortDateTime*/);
		com_Column1.DisplayFilterButton(true);
		com_Column1.DisplayFilterPattern(false);
		com_Column1.FilterList(1296/*exShowFocusItem | exShowCheckBox | exSortItemsDesc*/);
	var_Column2 = COM::createFromVariant(exlist1.Columns().Add("Time")); com_Column2 = var_Column2;
		com_Column2.SortType(4/*SortTime*/);
		com_Column2.DisplayFilterButton(true);
		com_Column2.DisplayFilterPattern(false);
		com_Column2.FilterList(1296/*exShowFocusItem | exShowCheckBox | exSortItemsDesc*/);
		com_Column2.FormatColumn("time(value)");
	var_Column3 = COM::createFromVariant(exlist1.Columns().Add("Numeric")); com_Column3 = var_Column3;
		com_Column3.SortType(1/*SortNumeric*/);
		com_Column3.DisplayFilterButton(true);
		com_Column3.FilterList(1296/*exShowFocusItem | exShowCheckBox | exSortItemsDesc*/);
	var_Column4 = COM::createFromVariant(exlist1.Columns().Add("String")); com_Column4 = var_Column4;
		com_Column4.DisplayFilterButton(true);
		com_Column4.FilterList(1296/*exShowFocusItem | exShowCheckBox | exSortItemsDesc*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add(COMVariant::createFromDate(str2Date("1/27/2010",213)));
		com_Items.Caption(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("1/27/2010 10:00:00",213)));
		com_Items.Caption(h,COMVariant::createFromInt(2),com_Items.Caption(h,COMVariant::createFromInt(1)));
		com_Items.Caption(h,COMVariant::createFromInt(3),COMVariant::createFromInt(1));
		com_Items.Caption(h,COMVariant::createFromInt(4),com_Items.Caption(h,COMVariant::createFromInt(3)));
		h = com_Items.Add(COMVariant::createFromDate(str2Date("1/27/2011",213)));
		com_Items.Caption(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("1/27/2011 9:00:00",213)));
		com_Items.Caption(h,COMVariant::createFromInt(2),com_Items.Caption(h,COMVariant::createFromInt(1)));
		com_Items.Caption(h,COMVariant::createFromInt(3),COMVariant::createFromInt(11));
		com_Items.Caption(h,COMVariant::createFromInt(4),com_Items.Caption(h,COMVariant::createFromInt(3)));
		h = com_Items.Add(COMVariant::createFromDate(str2Date("11/2/2010",213)));
		com_Items.Caption(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("11/2/2010 9:00:00",213)));
		com_Items.Caption(h,COMVariant::createFromInt(2),com_Items.Caption(h,COMVariant::createFromInt(1)));
		com_Items.Caption(h,COMVariant::createFromInt(3),COMVariant::createFromInt(2));
		com_Items.Caption(h,COMVariant::createFromInt(4),com_Items.Caption(h,COMVariant::createFromInt(3)));
	var_Column5 = COM::createFromObject(exlist1.Columns()).Item("DateTime"); com_Column5 = var_Column5;
	com_Column5.DisplayFilterDate(false);
	exlist1.EndUpdate();
}
485
How can I get ride / hide the image being dragged by OLE Drag and Drop
// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.OLEDropMode(1/*exOLEDropManual*/);
	exlist1.Background(34/*exDragDropAfter*/,WinApi::RGB2int(255,255,255));
	exlist1.Columns().Add("Default");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.Add("Item 2");
		com_Items.Add("Item 3");
}
484
Is there an event that fires on the exList control when the order of items in the list is changed via dragging
// AllowAutoDrag event - Occurs when the user drags the item between InsertA and InsertB.
void onEvent_AllowAutoDrag(int   _Item,int   _InsertA,int   _InsertB,COMVariant /*bool*/   _Cancel)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exlist1.Items(); com_Items = var_Items;
		print( "After" );
		print( com_Items.Caption(_InsertA,COMVariant::createFromInt(0)) );
		print( "Before" );
		print( com_Items.Caption(_InsertB,COMVariant::createFromInt(0)) );
	_Cancel = true;
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.AutoDrag(1/*exAutoDragPosition*/);
	exlist1.Columns().Add("Task");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.Add("Item 2");
		com_Items.Add("Item 3");
		com_Items.Add("Item 4");
	exlist1.EndUpdate();
}
483
How can I export checked items only

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("C1")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		COM::createFromVariant(com_Columns.Add("C2")).FormatColumn("1 index `A-Z`");
		COM::createFromVariant(com_Columns.Add("C3")).FormatColumn("100 index ``");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.CellState(com_Items.Add("Item 2"),COMVariant::createFromInt(0),1);
		com_Items.CellState(com_Items.Add("Item 3"),COMVariant::createFromInt(0),1);
	exlist1.EndUpdate();
	print( "Export CSV Checked Items Only:" );
	print( exlist1.Export("","chk") );
}
482
How can I export a hidden column

public void init()
{
	COM com_Column,com_Column1,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Columns,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("C1");
		var_Column = COM::createFromVariant(com_Columns.Add("C2")); com_Column = var_Column;
			com_Column.FormatColumn("1 index `A-Z`");
			com_Column.Visible(false);
		var_Column1 = COM::createFromVariant(com_Columns.Add("C3")); com_Column1 = var_Column1;
			com_Column1.FormatColumn("100 index ``");
			com_Column1.Visible(false);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.Add("Item 2");
		com_Items.Add("Item 3");
	exlist1.EndUpdate();
	print( "Export CSV Hidden Columns (1,2):" );
	print( exlist1.Export("","|1,2") );
}
481
Is it possible to have a different alignment for parts of the cell's caption

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.DrawGridLines(-1/*exAllLines*/);
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Default")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.CellHAlignment(com_Items.Add("all-left"),COMVariant::createFromInt(0),0/*LeftAlignment*/);
		com_Items.CellHAlignment(com_Items.Add("all-center"),COMVariant::createFromInt(0),1/*CenterAlignment*/);
		com_Items.CellHAlignment(com_Items.Add("all-right"),COMVariant::createFromInt(0),2/*RightAlignment*/);
		h = com_Items.Add("left<c>center<r>right");
		com_Items.CaptionFormat(h,COMVariant::createFromInt(0),1/*exHTML*/);
	exlist1.EndUpdate();
}
480
I have a column with Def(exCellSingleLine) property on False, word-wrapping, and I am wondering if possible to update the column's content while user is resizing it
public void init()
{
	COM com_Column,com_Column1,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Columns,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("MultipleLine")); com_Column = var_Column;
			com_Column.Width(32);
			com_Column.Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false));
			com_Column.Def(64/*exColumnResizeContiguously*/,COMVariant::createFromBoolean(true));
		var_Column1 = COM::createFromVariant(com_Columns.Add("SingleLine")); com_Column1 = var_Column1;
			com_Column1.Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false));
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Caption(com_Items.Add("This is a bit of long text that should break the line"),COMVariant::createFromInt(1),"This is a bit of long text that should break the line");
	exlist1.EndUpdate();
}
479
How can I hide the cell's tooltip
// ToolTip event - Fired when the control prepares the object's tooltip.
void onEvent_ToolTip(int   _ItemIndex,int   _ColIndex,COMVariant /*bool*/   _Visible,COMVariant /*long*/   _X,COMVariant /*long*/   _Y,int   _CX,int   _CY)
{
	;
	print( "The tooltip is about to be shown" );
	_Visible = false;
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.Columns().Add("Def");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.CellToolTip(com_Items.Add("Item 1"),COMVariant::createFromInt(0),"This is a bit of text that's shown when cursor hovers the item.");
		com_Items.CellToolTip(com_Items.Add("Item 2"),COMVariant::createFromInt(0),"This is a bit of text that's shown when cursor hovers the item.");
		com_Items.CellToolTip(com_Items.Add("Item 3"),COMVariant::createFromInt(0),"This is a bit of text that's shown when cursor hovers the item.");
	exlist1.EndUpdate();
}
478
How can I find out if an item is selected or unselected
// MouseMove event - Occurs when the user moves the mouse.
void onEvent_MouseMove(int   _Button,int   _Shift,int   _X,int   _Y)
{
	COM com_Items;
	anytype var_Items;
	int i;
	;
	i = exlist1.ItemFromPoint(-1,-1,c,hit);
	var_Items = exlist1.Items(); com_Items = var_Items;
		print( com_Items.SelectItem(i) );
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	int i;
	;

	super();

	exlist1.Columns().Add("Header");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.SelectItem(com_Items.Add("Item 2"),true);
		com_Items.Add("Item 3");
}
477
How do I sort the index column as numeric

// AddItem event - Occurs after a new Item is inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.CellData(_Item,COMVariant::createFromInt(1),_Item);
}

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.DrawGridLines(-1/*exAllLines*/);
	exlist1.ColumnAutoResize(true);
	exlist1.ShowFocusRect(false);
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Next")); com_Column = var_Column;
		com_Column.Def(48/*exCellPaddingLeft*/,COMVariant::createFromInt(4));
		com_Column.Def(52/*exHeaderPaddingLeft*/,COMVariant::createFromInt(4));
	var_Column1 = COM::createFromVariant(exlist1.Columns().Add("Index")); com_Column1 = var_Column1;
		com_Column1.AllowSizing(false);
		com_Column1.Width(48);
		com_Column1.FormatColumn("(((0 := (1 index ``)) mod 3) case ( default: ``; 0 : `<r><fgcolor=B0B0B0>`; 1: ``; 2 : `<c><fgcolor=808080>` )) + str(=:0)");
		com_Column1.Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column1.SortType(5/*SortUserData*/);
		com_Column1.Position(0);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.Add("Item 2");
		com_Items.Add("Item 3");
		com_Items.Add("Item 4");
		com_Items.Add("Item 5");
		com_Items.Add("Item 6");
		com_Items.Add("Item 7");
		com_Items.Add("Item 8");
		com_Items.Add("Item 9");
		com_Items.Add("Item 10");
	exlist1.EndUpdate();
}
476
How can I put icons/images into buttons

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	str var_s;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.ColumnAutoResize(true);
	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exlist1.Images(COMVariant::createFromStr(var_s));
	var_Column = COM::createFromVariant(exlist1.Columns().Add("C+B")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.Width(48);
		com_Column.FormatColumn("` <img>` + ( 1 + (1 index ``) mod 3 ) + `</img> `");
		com_Column.Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.Def(2/*exCellHasButton*/,COMVariant::createFromBoolean(true));
		com_Column.Def(3/*exCellHasButton | exCellHasRadioButton*/,COMVariant::createFromBoolean(true));
	exlist1.Columns().Add("");
	exlist1.DrawGridLines(2/*exVLines*/);
	exlist1.DefaultItemHeight(20);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("");
		com_Items.Add("");
		com_Items.Add("");
		com_Items.Add("");
		com_Items.Add("");
		com_Items.Add("");
		com_Items.Add("");
		com_Items.Add("");
	exlist1.EndUpdate();
}
475
Is it possible to have a CheckBox and Button TOGETHER on all cells in a column

// CellButtonClick event - Fired after the user clicks the cell's button.
void onEvent_CellButtonClick(int   _Item,int   _ColIndex)
{
	;
	print( "CellButtonClick" );
	print( _Item );
}

// CellStateChanged event - Fired after cell's state is changed.
void onEvent_CellStateChanged(int   _Item,int   _ColIndex)
{
	;
	print( "CellStateChanged" );
	print( _Item );
}

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.ColumnAutoResize(true);
	var_Column = COM::createFromVariant(exlist1.Columns().Add("")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 index ``");
	var_Column1 = COM::createFromVariant(exlist1.Columns().Add("Def")); com_Column1 = var_Column1;
		com_Column1.AllowSizing(false);
		com_Column1.Width(48);
		com_Column1.FormatColumn("`     `");
		com_Column1.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column1.Def(2/*exCellHasButton*/,COMVariant::createFromBoolean(true));
		com_Column1.Def(3/*exCellHasButton | exCellHasRadioButton*/,COMVariant::createFromBoolean(true));
	exlist1.Columns().Add("");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("");
		com_Items.Add("");
		com_Items.Add("");
		com_Items.Add("");
		com_Items.Add("");
		com_Items.Add("");
		com_Items.Add("");
		com_Items.Add("");
	exlist1.EndUpdate();
}
474
Does filtering work with umlauts / accents characters
public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Names")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(3/*exPattern*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Mantel");
		com_Items.Add("Mechanik");
		com_Items.Add("Motor");
		com_Items.Add("Murks");
		com_Items.Add("Märchen");
		com_Items.Add("Möhren");
		com_Items.Add("Mühle");
		com_Items.Add("Sérigraphie");
	var_Column1 = COM::createFromObject(exlist1.Columns()).Item(COMVariant::createFromInt(0)); com_Column1 = var_Column1;
	com_Column1.Filter("*ä*");
	exlist1.ApplyFilter();
	exlist1.EndUpdate();
}
473
Can I set the search box / filterbarprompt to invisible, so I can use my own input and *string* via VBA
public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.ColumnAutoResize(true);
	exlist1.ContinueColumnScroll(0);
	exlist1.MarkSearchColumn(false);
	exlist1.SearchColumnIndex(1);
	exlist1.FilterBarHeight(0);
	exlist1.FilterBarPromptVisible(true);
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exlist1.Items(); com_Items = var_Items;
		h0 = com_Items.Add("Nancy Davolio");
		com_Items.Caption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.Caption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.Add("Andrew Fuller");
		com_Items.Caption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.Caption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.Add("Janet Leverling");
		com_Items.Caption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.Caption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.Add("Margaret Peacock");
		com_Items.Caption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.Caption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.Add("Steven Buchanan");
		com_Items.Caption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.Caption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.Add("Michael Suyama");
		com_Items.Caption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.Caption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.Add("Robert King");
		com_Items.Caption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.Caption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.Add("Laura Callahan");
		com_Items.Caption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.Caption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.Add("Anne Dodsworth");
		com_Items.Caption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.Caption(h0,COMVariant::createFromInt(2),"London");
	exlist1.FilterBarPromptPattern("London");
	exlist1.EndUpdate();
}
472
How can I align captions of items with checkbox, with items with no checkbox

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.Columns().Add("Default");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.CellImages(com_Items.Add(COMVariant::createFromInt(0)),COMVariant::createFromInt(0),"1");
		com_Items.CellHasCheckBox(com_Items.Add(COMVariant::createFromInt(1)),COMVariant::createFromInt(0),true);
		com_Items.CellImages(com_Items.Add(COMVariant::createFromInt(2)),COMVariant::createFromInt(0),"1");
	exlist1.EndUpdate();
}
471
How do I programmatically scroll the control (method 2)
public void init()
{
	COM com_rs;
	anytype rs;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.ColumnAutoResize(false);
	exlist1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\Access\\SAMPLE.ACCDB",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exlist1.DataSource(rs);
	exlist1.Layout("vscroll = 10");
	exlist1.EndUpdate();
}
470
How do I programmatically scroll the control (method 1)
public void init()
{
	COM com_rs;
	anytype rs;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.ColumnAutoResize(false);
	exlist1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\Access\\SAMPLE.ACCDB",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exlist1.DataSource(rs);
	exlist1.ScrollPos(true,10);
	exlist1.EndUpdate();
}
469
How can I decode the Layout property
public void init()
{
	COM com_Column,com_Columns,com_Items,com_Print;
	anytype var_Column,var_Columns,var_Items,var_Print;
	;

	super();

	exlist1.BeginUpdate();
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("C1");
		COM::createFromVariant(com_Columns.Add("C2")).Position(1);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Caption(com_Items.Add("SubItem 1.1"),COMVariant::createFromInt(1),"SubItem 1.2");
		com_Items.Caption(com_Items.Add("SubItem 2.1"),COMVariant::createFromInt(1),"SubItem 2.2");
	var_Column = COM::createFromObject(exlist1.Columns()).Item("C2"); com_Column = var_Column;
	com_Column.SortOrder(2/*SortDescending*/);
	exlist1.EndUpdate();
	print( "Encoded:" );
	print( exlist1.Layout() );
	// Add 'exprint.dll(ExPrint.dll)' reference to your project.
	// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
	var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
		print( "Decoded: " );
		print( com_Print.Decode64TextW(exlist1.Layout()) );
}
468
Does the title of the cell's tooltip supports HTML format

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	str var_s;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("")); com_Column = var_Column;
		com_Column.Caption("");
		com_Column.HTMLCaption("Column");
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("tooltip w/h different title");
		var_s = "<c><b><fgcolor=FF0000>Title</fgcolor></b><br>This is bit of text that's shown when the user hovers the cell. This shows the titl";
		var_s = var_s + "e centered with a different color.";
		com_Items.CellToolTip(h,COMVariant::createFromInt(0),var_s);
	exlist1.EndUpdate();
}
467
How do I specify a different title for the cell's tooltip

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("")); com_Column = var_Column;
		com_Column.Caption("This is the title");
		com_Column.HTMLCaption("Column");
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("tooltip w/h different title");
		com_Items.CellToolTip(h,COMVariant::createFromInt(0),"This is bit of text that's shown when the user hovers the cell.");
	exlist1.EndUpdate();
}
466
The cell's tooltip displays the column's caption in its title. How can I get ride of that

public void init()
{
	COM com_Column,com_Columns,com_Items;
	anytype var_Column,var_Columns,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("C1");
		com_Columns.Add("C2");
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("tooltip w/h caption");
		com_Items.CellToolTip(h,COMVariant::createFromInt(0),"This is bit of text that's shown when the user hovers the cell. This shows the column's caption in the title.");
		com_Items.Caption(h,COMVariant::createFromInt(1),"tooltip no caption");
		com_Items.CellToolTip(h,COMVariant::createFromInt(1),"This is bit of text that's shown when the user hovers the cell. This shows no column's caption in the title.");
	var_Column = COM::createFromObject(exlist1.Columns()).Item("C2"); com_Column = var_Column;
		com_Column.HTMLCaption(com_Column.Caption());
		com_Column.Caption("");
	exlist1.EndUpdate();
}
465
When you click the cell it takes some time before the edit box appears, can this delay be removed

// Click event - Occurs when the user presses and then releases the left mouse button over the list control.
void onEvent_Click()
{
	int h;
	;
	h = exlist1.ItemFromPoint(-1,-1,ColIndex,HitTestInfo);
	exlist1.Items().Edit(h,ColIndex);
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exlist1.AllowEdit(true);
	exlist1.Columns().Add("Default");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("");
		com_Items.Add("Edit");
		com_Items.Add("");
}
464
How can I programmatically show the column's filter

// RClick event - Fired when right mouse button is clicked
void onEvent_RClick()
{
	COM com_Column;
	anytype var_Column;
	int i;
	;
	i = exlist1.ItemFromPoint(-1,-1,c,hit);
	var_Column = COM::createFromObject(exlist1.Columns()).Item(c); com_Column = var_Column;
	com_Column.ShowFilter("-1,-1,128,128");
}

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int i;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.ShowFocusRect(false);
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Items ")); com_Column = var_Column;
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(9472/*exShowExclude | exShowFocusItem | exShowCheckBox*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.Add("Item 2");
		com_Items.Add("Item 3");
	exlist1.EndUpdate();
}
463
I want to be able to click on one of the headers, and sort by other column. How can I do that

// ColumnClick event - Fired after the user clicks on column's header.
void onEvent_ColumnClick(COM   _Column)
{
	// Column.SortOrder = 1
	COM com_Column;
	anytype var_Column;
	;
	exlist1.SortOnClick(-1/*exDefaultSort*/);
	var_Column = COM::createFromObject(exlist1.Columns()).Item("Sort"); com_Column = var_Column;
	com_Column.SortOrder(1/*SortAscending*/);
	exlist1.SortOnClick(1/*exUserSort*/);
}

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.SortOnClick(1/*exUserSort*/);
	exlist1.Columns().Add("Items");
	COM::createFromVariant(exlist1.Columns().Add("Sort")).Visible(false);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Caption(com_Items.Add("Item 1 (3)"),COMVariant::createFromInt(1),COMVariant::createFromInt(3));
		com_Items.Caption(com_Items.Add("Item 2 (1)"),COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.Caption(com_Items.Add("Item 3 (2)"),COMVariant::createFromInt(1),COMVariant::createFromInt(2));
	exlist1.EndUpdate();
}
462
How can I sort by two-columns, one by date and one by time

public void init()
{
	COM com_Column,com_Columns,com_Items;
	anytype var_Column,var_Columns,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.SingleSort(false);
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Index")).FormatColumn("1 index ``");
		COM::createFromVariant(com_Columns.Add("Date")).SortType(2/*SortDate*/);
		var_Column = COM::createFromVariant(com_Columns.Add("Time")); com_Column = var_Column;
			com_Column.SortType(4/*SortTime*/);
			com_Column.FormatColumn("time(value)");
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add(COMVariant::createFromInt(0));
		com_Items.Caption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.Caption(h,COMVariant::createFromInt(2),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 10:00:00",213)));
		h = com_Items.Add(COMVariant::createFromInt(0));
		com_Items.Caption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("12/31/2000",213)));
		com_Items.Caption(h,COMVariant::createFromInt(2),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 10:00:00",213)));
		h = com_Items.Add(COMVariant::createFromInt(0));
		com_Items.Caption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.Caption(h,COMVariant::createFromInt(2),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 6:00:00",213)));
		h = com_Items.Add(COMVariant::createFromInt(0));
		com_Items.Caption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("12/31/2000",213)));
		com_Items.Caption(h,COMVariant::createFromInt(2),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 8:00:00",213)));
		h = com_Items.Add(COMVariant::createFromInt(0));
		com_Items.Caption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.Caption(h,COMVariant::createFromInt(2),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 8:00:00",213)));
		h = com_Items.Add(COMVariant::createFromInt(0));
		com_Items.Caption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("12/31/2000",213)));
		com_Items.Caption(h,COMVariant::createFromInt(2),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 6:00:00",213)));
	exlist1.Layout("multiplesort=\"C1:1 C2:1\"");
	exlist1.EndUpdate();
}
461
How can I connect to a DBF file
public void init()
{
	COM com_rs;
	anytype rs;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.ColumnAutoResize(false);
	exlist1.ContinueColumnScroll(false);
	exlist1.MarkSearchColumn(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Select * From foxcode.DBF","Provider=vfpoledb;Data Source=C:\\Program Files\\Microsoft Visual FoxPro 9\\",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exlist1.DataSource(rs);
	exlist1.EndUpdate();
}
460
Does your control supports scrolling by touching the screen

public void init()
{
	COM com_rs;
	anytype rs;
	;

	super();

	exlist1.ColumnAutoResize(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\Access\\SAMPLE.ACCDB",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exlist1.DataSource(rs);
	exlist1.ContinueColumnScroll(true);
	exlist1.ScrollBySingleLine(true);
	exlist1.AutoDrag(4112/*exAutoDragScrollOnShortTouch | exAutoDragScroll*/);
}
459
How can I enlarge the size of the control's scroll bars, for using on touch screens

public void init()
{
	;

	super();

	exlist1.ScrollBars(15/*DisableBoth*/);
	exlist1.ScrollWidth(32);
	exlist1.ScrollHeight(32);
	exlist1.ScrollButtonHeight(32);
	exlist1.ScrollButtonWidth(32);
}
458
Is there a syntax for conditional formatting of items, based on CellState/CellStateChange

// CellStateChanged event - Fired after cell's state is changed.
void onEvent_CellStateChanged(int   _Item,int   _ColIndex)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Caption(_Item,COMVariant::createFromInt(2),com_Items.CellState(_Item,COMVariant::createFromInt(0)));
}

public void init()
{
	COM com_Column,com_ConditionalFormat,com_Items;
	anytype var_Column,var_ConditionalFormat,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.ShowFocusRect(false);
	exlist1.MarkSearchColumn(false);
	exlist1.SelBackMode(1/*exTransparent*/);
	var_ConditionalFormat = COM::createFromObject(exlist1.ConditionalFormats()).Add("%2 != 0"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.Bold(true);
		com_ConditionalFormat.ForeColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat.ApplyTo(-1/*exFormatToItems*/);
	var_Column = COM::createFromVariant(exlist1.Columns().Add("")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.Width(16);
		com_Column.AllowSizing(false);
	exlist1.Columns().Add("Information");
	COM::createFromVariant(exlist1.Columns().Add("Hidden")).Visible(false);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Caption(com_Items.Add(""),COMVariant::createFromInt(1),"This is a bit of text associated");
		h = com_Items.Add("");
		com_Items.Caption(h,COMVariant::createFromInt(1),"This is a bit of text associated");
		com_Items.CellState(h,COMVariant::createFromInt(0),1);
		com_Items.Caption(com_Items.Add(""),COMVariant::createFromInt(1),"This is a bit of text associated");
	exlist1.EndUpdate();
}
457
How can I display the caption bellow to picture

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.ScrollBySingleLine(true);
	exlist1.HTMLPicture("p1","c:\\exontrol\\images\\zipdisk.gif");
	exlist1.HTMLPicture("p2","c:\\exontrol\\images\\auction.gif");
	exlist1.Columns().Add("Default");
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("<c><img>p1</img><br><c>your caption1");
		com_Items.CellSingleLine(h,COMVariant::createFromInt(0),false);
		com_Items.CaptionFormat(h,COMVariant::createFromInt(0),1/*exHTML*/);
		h = com_Items.Add("<c><img>p2</img><br><c>your caption2");
		com_Items.CellSingleLine(h,COMVariant::createFromInt(0),false);
		com_Items.CaptionFormat(h,COMVariant::createFromInt(0),1/*exHTML*/);
	exlist1.EndUpdate();
}
456
How can I add a vertical padding

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.DrawGridLines(-1/*exAllLines*/);
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Padding")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false));
		com_Column.Def(48/*exCellPaddingLeft*/,COMVariant::createFromInt(6));
		com_Column.Def(49/*exCellPaddingRight*/,COMVariant::createFromInt(6));
		com_Column.Def(50/*exCellPaddingTop*/,COMVariant::createFromInt(6));
		com_Column.Def(51/*exCellPaddingBottom*/,COMVariant::createFromInt(6));
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("padding");
		com_Items.Add("padding");
	exlist1.EndUpdate();
}
455
How do you embed HTML options into the anchor click string

// AnchorClick event - Occurs when an anchor element is clicked.
void onEvent_AnchorClick(str   _AnchorID,str   _Options)
{
	;
	print( _AnchorID );
	print( _Options );
}

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Car")).Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("<a mazda_1;options for 1>Mazda <b>1</b></a>");
		com_Items.Add("<a mazda_2;options for 2>Mazda <b>2</b></a>");
		com_Items.Add("<a mazda_3;options for 3a>Mazda <b>3.a</b></a>");
		com_Items.Add("<a mazda_3;options for 3b>Mazda <b>3.b</b></a>");
	exlist1.EndUpdate();
}
454
I have the rows with different background color, and when I select the item it takes the color of the SelBackColor, and therefore is no longer visible behind the color. Is there any option to make the item's color being visible (method 3)

public void init()
{
	COM com_Items;
	anytype var_Items;
	str var_s;
	;

	super();

	exlist1.BeginUpdate();
	var_s = "gBFLBCJwBAEHhEJAEGg4BVEIQAAYAQGKIYBkAKBQAGaAoDDMOQwQwAAxjGKEEwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQCWIAzATGYBRfIUEgjBM6ExwG78eg";
	var_s = var_s + "BHp/ZpkACIJJAaRjHQdJxGKKMQB9DIhCZpeKhWgkKIJBzOEyBRC4ERBGqNGrsIgLEqWZpnWhaNpWXYTLyBN64LhuK46g53O6wLxvK6hEr2dJ/YBcIAOfghf4NQ7EMRxL";
	var_s = var_s + "C8Mw3BDvYDkOAABAIgI=";
	exlist1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	exlist1.SelBackColor(0x1fffffe);
	exlist1.ShowFocusRect(false);
	exlist1.Columns().Add("Items");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.ItemBackColor(com_Items.Add("red"),WinApi::RGB2int(255,0,0));
		com_Items.ItemBackColor(com_Items.Add("blue"),WinApi::RGB2int(0,0,255));
		com_Items.ItemBackColor(com_Items.Add("green"),WinApi::RGB2int(0,255,0));
	exlist1.EndUpdate();
}
453
I have the rows with different background color, and when I select the item it takes the color of the SelBackColor, and therefore is no longer visible behind the color. Is there any option to make the item's color being visible (method 2)

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.SelBackMode(1/*exTransparent*/);
	exlist1.ShowFocusRect(false);
	exlist1.Columns().Add("Items");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.ItemBackColor(com_Items.Add("red"),WinApi::RGB2int(255,0,0));
		com_Items.ItemBackColor(com_Items.Add("blue"),WinApi::RGB2int(0,0,255));
		com_Items.ItemBackColor(com_Items.Add("green"),WinApi::RGB2int(0,255,0));
	exlist1.EndUpdate();
}
452
I have the rows with different background color, and when I select the item it takes the color of the SelBackColor, and therefore is no longer visible behind the color. Is there any option to make the item's color being visible (method 1)

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.SelBackColor(exlist1.BackColor());
	exlist1.SelForeColor(exlist1.ForeColor());
	exlist1.ShowFocusRect(true);
	exlist1.Columns().Add("Items");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.ItemBackColor(com_Items.Add("red"),WinApi::RGB2int(255,0,0));
		com_Items.ItemBackColor(com_Items.Add("blue"),WinApi::RGB2int(0,0,255));
		com_Items.ItemBackColor(com_Items.Add("green"),WinApi::RGB2int(0,255,0));
	exlist1.EndUpdate();
}
451
I am using the FormatColumn property, but is it also possible to have a blank field when the value is '0'. I've tried the 'leading zero' flag in the FormatColumn, but that did not work

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Currency")).FormatColumn("int(value) != 0 ? (value format `0||3|,`) : ``");
	exlist1.Items().Add(COMVariant::createFromInt(123456789));
	exlist1.Items().Add(COMVariant::createFromInt(1234));
	exlist1.Items().Add(COMVariant::createFromInt(0));
	exlist1.Items().Add(COMVariant::createFromInt(2345));
}
450
Do you have a VB sample on how to use .FormatColumn to show this number '123456789' like '123,456,789'

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Currency")).FormatColumn("value format `0||3|,`");
	exlist1.Items().Add(COMVariant::createFromInt(123456789));
	exlist1.Items().Add(COMVariant::createFromInt(1234));
}
449
Is it possible to change the image while do OLE Drag and Drop operations

// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
public void init()
{
	;

	super();

	exlist1.Columns().Add("Default");
	exlist1.Items().Add("Item 1");
	exlist1.Items().Add("Item 2");
	exlist1.OLEDropMode(1/*exOLEDropManual*/);
	exlist1.HTMLPicture("OLEDragDropImage","C:\\Program Files\\Exontrol\\ExList\\Sample\\VB\\UNICODE\\unicode.jpg");
}
448
Is it possible to change the image while do OLE Drag and Drop operations

// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
public void init()
{
	;

	super();

	exlist1.Columns().Add("Default");
	exlist1.Items().Add("Item 1");
	exlist1.Items().Add("Item 2");
	exlist1.OLEDropMode(1/*exOLEDropManual*/);
	exlist1.VisualAppearance().Add(1,"C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\EBN\\xpbselIcon.ebn");
	exlist1.Background(34/*exDragDropAfter*/,0x1000000);
	exlist1.Background(33/*exDragDropBefore*/,WinApi::RGB2int(255,255,255));
}
447
How can copy and paste the selection to Microsoft Word, any OLE compliant application, as a snapshot
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exlist1.HTMLPicture("p1","c:\\exontrol\\images\\card.png");
	exlist1.HTMLPicture("p2","c:\\exontrol\\images\\sun.png");
	exlist1.AutoDrag(11/*exAutoDragCopySnapShot*/);
	exlist1.ShowFocusRect(false);
	exlist1.DefaultItemHeight(26);
	exlist1.Columns().Add("Task");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.CaptionFormat(com_Items.Add("<img>p1:32</img> Group 1"),COMVariant::createFromInt(0),1/*exHTML*/);
		com_Items.CaptionFormat(com_Items.Add("<img>p2:32</img> Group 2"),COMVariant::createFromInt(0),1/*exHTML*/);
	exlist1.EndUpdate();
}
446
How can copy and paste the selection to Microsoft Word, any OLE compliant application, as a image

public void init()
{
	COM com_Column,com_Items,com_rs;
	anytype rs,var_Column,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.HTMLPicture("p1","c:\\exontrol\\images\\card.png");
	exlist1.HTMLPicture("p2","c:\\exontrol\\images\\sun.png");
	exlist1.HeaderHeight(24);
	exlist1.DefaultItemHeight(48);
	exlist1.DrawGridLines(-2/*0xfffffffe | exVLines*/);
	exlist1.GridLineColor(WinApi::RGB2int(240,240,240));
	exlist1.SelBackMode(1/*exTransparent*/);
	exlist1.ColumnAutoResize(false);
	exlist1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\Access\\SAMPLE.ACCDB",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exlist1.DataSource(rs);
	var_Column = COM::createFromObject(exlist1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
	var_Column = COM::createFromObject(exlist1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.FormatColumn("value + ` <img>p` + (1 + (value mod 3 ) ) + `</img>`");
	var_Column = COM::createFromObject(exlist1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.Width(112);
	exlist1.AutoDrag(10/*exAutoDragCopyImage*/);
	exlist1.SingleSel(false);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.SelectItem(1,true);
		com_Items.SelectItem(2,true);
		com_Items.SelectItem(3,true);
	exlist1.EndUpdate();
}
445
How can copy and paste the selection to Microsoft Word, Excel or any OLE compliant application, as a text

public void init()
{
	COM com_Items,com_rs;
	anytype rs,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.ColumnAutoResize(false);
	exlist1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\Access\\SAMPLE.ACCDB",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exlist1.DataSource(rs);
	exlist1.AutoDrag(9/*exAutoDragCopyText*/);
	exlist1.SingleSel(false);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.SelectItem(1,true);
		com_Items.SelectItem(3,true);
		com_Items.SelectItem(4,true);
		com_Items.SelectItem(5,true);
	exlist1.EndUpdate();
}
444
How can I change the row's position to another, by drag and drop. Is it possible

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.AutoDrag(1/*exAutoDragPosition*/);
	exlist1.Columns().Add("Task");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.Add("Item 2");
		com_Items.Add("Item 3");
		com_Items.Add("Item 4");
	exlist1.EndUpdate();
}
443
Does your control support subscript or superscript, in HTML captions

public void init()
{
	;

	super();

	COM::createFromVariant(exlist1.Columns().Add("Column")).Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
	exlist1.Items().Add("<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1");
}
442
Is there any property I can save and restore automatically the current setting, column position, size, and so on (2)

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.Columns().Add("Column");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.Add("Item 2");
		com_Items.Add("Item 3");
	exlist1.Layout("Select=\"0\";SingleSort=\"C0:2\";Columns=1");
	exlist1.EndUpdate();
}
441
Is there any property I can save and restore automatically the current setting, column position, size, and so on (1)

public void init()
{
	COM com_Items;
	anytype var_Items;
	str var_s;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.Columns().Add("Column");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.Add("Item 2");
		com_Items.Add("Item 3");
	var_s = "gBjAAwAAuABmABpABsAB0ABlAByhoAPIAOEPAA9gYABoABQAgUEg0XN4AOcJicKkpujMbjsfkMFk0YhkQgUOjUEl8gjcGO0ok8KMULjEaGMcj08kQAO8oMkTNEtGwAGQ";
	var_s = var_s + "Aqc7gUlhh1ABtAEsk9GpEfhElgVcsMupNlnlonlaAFcr0shUsp8QPEtnVJqJhmcIhUMh0QiU5sYAqMngUSuEMw07k8Qv0SgVRrNEuVflF2jF5x9JyNEm0TjQijemyE0j";
	var_s = var_s + "E3t+YruauoAu4Az1qj9BzRn0UzksSnAA0xDjY6qnAw8OiUQ0dwzN0zWz2t7j8/xURAGNvWH6k8xlEhklhEI0O/6QAgI=";
	exlist1.Layout(var_s);
	exlist1.EndUpdate();
}
440
Is there any public method to export the selected data

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("C1");
		COM::createFromVariant(com_Columns.Add("C2")).FormatColumn("1 index `A-Z`");
		COM::createFromVariant(com_Columns.Add("C3")).FormatColumn("100 index ``");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.SelectItem(com_Items.Add("Item 2"),true);
		com_Items.Add("Item 3");
	exlist1.EndUpdate();
	print( "Export CSV Selected Items Only:" );
	print( exlist1.Export("","sel") );
}
439
How can I change the visual aspect of the links in the sort bar

public void init()
{
	COM com_Column,com_Column1,com_rs;
	anytype rs,var_Column,var_Column1;
	str var_s;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.ColumnAutoResize(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\Access\\SAMPLE.ACCDB",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exlist1.DataSource(rs);
	exlist1.SortBarHeight(24);
	exlist1.HeaderHeight(24);
	exlist1.BackColorSortBar(WinApi::RGB2int(240,240,240));
	exlist1.BackColorSortBarCaption(exlist1.BackColor());
	var_s = "gBFLBCJwBAEHhEJAEGg4BdsIQAAYAQGKIYBkAKBQAGaAoDDgNw0QwAAxjMK0EwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQiiCYsS5GQBSFDcOwHGyQYDkCQpAA";
	var_s = var_s + "WL4tCyMc7QHKAWhrEAbJjgQYJUh+TQAAZCIJRXRQAL/K6rKwnSCQIgkUBpGKdBynEYoYxAfyESCJWyIahWAwoQjUMB1HLQAAxC5kKbkIxyBABFBdVjVeBYG78Bz+ABjE";
	var_s = var_s + "ovbAMEwPBqAMwmIAZDheA4FR4AGhTXKcbxrFaXZSzKckPRoADSZq1Sg5LjDJI2ABqU6ABqNLZtJKsZS4apABrWeZ3Q7QMLdFTwA4PH6EZhxXAYbTVeaPZjQIBAgI";
	exlist1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	exlist1.SortBarVisible(true);
	exlist1.SortBarCaption("Drag a <b>column</b> header here to group by that column.");
	var_Column = COM::createFromObject(exlist1.Columns()).Item(COMVariant::createFromInt(1)); com_Column = var_Column;
		com_Column.Alignment(1/*CenterAlignment*/);
		com_Column.Def(4/*exCellBackColor*/,COMVariant::createFromInt(15790320));
		com_Column.SortOrder(true);
	var_Column1 = COM::createFromObject(exlist1.Columns()).Item(COMVariant::createFromInt(5)); com_Column1 = var_Column1;
		com_Column1.Alignment(1/*CenterAlignment*/);
		com_Column1.Def(4/*exCellBackColor*/,COMVariant::createFromInt(16119285));
		com_Column1.SortOrder(true);
	exlist1.Background(28/*exSortBarLinkColor*/,0x1000000);
	exlist1.EndUpdate();
}
438
How can I have a case-insensitive filter (exFilterDoCaseSensitive flag is not set)

public void init()
{
	COM com_Column,com_Column1,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Columns,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.MarkSearchColumn(false);
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("Car")); com_Column = var_Column;
			com_Column.DisplayFilterButton(true);
			com_Column.FilterType(240/*exFilter*/);
			com_Column.Filter("MAZDA");
		var_Column1 = COM::createFromVariant(com_Columns.Add("Equipment")); com_Column1 = var_Column1;
			com_Column1.DisplayFilterButton(true);
			com_Column1.DisplayFilterPattern(false);
			com_Column1.CustomFilter("Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*");
			com_Column1.FilterType(3/*exPattern*/);
			com_Column1.Filter("AIR BAG");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Caption(com_Items.Add("Mazda"),COMVariant::createFromInt(1),"Air Bag");
		com_Items.Caption(com_Items.Add("Toyota"),COMVariant::createFromInt(1),"Air Bag,Air condition");
		com_Items.Caption(com_Items.Add("Ford"),COMVariant::createFromInt(1),"Air condition");
		com_Items.Caption(com_Items.Add("Nissan"),COMVariant::createFromInt(1),"Air Bag,ABS,ESP");
		com_Items.Caption(com_Items.Add("Mazda"),COMVariant::createFromInt(1),"Air Bag, ABS,ESP");
		com_Items.Caption(com_Items.Add("Mazda"),COMVariant::createFromInt(1),"ABS,ESP");
	exlist1.ApplyFilter();
	exlist1.EndUpdate();
}
437
How can I have a case-sensitive filter

public void init()
{
	COM com_Column,com_Column1,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Columns,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.MarkSearchColumn(false);
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("Car")); com_Column = var_Column;
			com_Column.DisplayFilterButton(true);
			com_Column.FilterType(496/*exFilterDoCaseSensitive | exFilter*/);
			com_Column.Filter("Mazda");
		var_Column1 = COM::createFromVariant(com_Columns.Add("Equipment")); com_Column1 = var_Column1;
			com_Column1.DisplayFilterButton(true);
			com_Column1.DisplayFilterPattern(false);
			com_Column1.CustomFilter("Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*");
			com_Column1.FilterType(259/*exFilterDoCaseSensitive | exPattern*/);
			com_Column1.Filter("Air Bag");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Caption(com_Items.Add("Mazda"),COMVariant::createFromInt(1),"Air Bag");
		com_Items.Caption(com_Items.Add("Toyota"),COMVariant::createFromInt(1),"Air Bag,Air condition");
		com_Items.Caption(com_Items.Add("Ford"),COMVariant::createFromInt(1),"Air condition");
		com_Items.Caption(com_Items.Add("Nissan"),COMVariant::createFromInt(1),"Air Bag,ABS,ESP");
		com_Items.Caption(com_Items.Add("Mazda"),COMVariant::createFromInt(1),"Air Bag, ABS,ESP");
		com_Items.Caption(com_Items.Add("Mazda"),COMVariant::createFromInt(1),"ABS,ESP");
	exlist1.ApplyFilter();
	exlist1.EndUpdate();
}
436
I have several columns, but noticed that the filter is using AND between columns, but I need OR clause for filtering. Is it possible

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Item")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.Filter("Child 1");
		com_Column.FilterType(240/*exFilter*/);
	var_Column1 = COM::createFromVariant(exlist1.Columns().Add("Date")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.DisplayFilterPattern(false);
		com_Column1.DisplayFilterDate(true);
		com_Column1.FilterList(9474/*exShowExclude | exShowFocusItem | exShowCheckBox | exNoItems*/);
		com_Column1.Filter(str2Date("12/28/2010",213));
		com_Column1.FilterType(4/*exDate*/);
	exlist1.FilterCriteria("%0 or %1");
	exlist1.Description(23/*exFilterBarOr*/,"<font ;18><fgcolor=FF0000>or</fgcolor></font>");
	exlist1.Description(11/*exFilterBarAnd*/,"<font ;18><fgcolor=FF0000>and</fgcolor></font>");
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("Root 1");
		com_Items.Caption(com_Items.Add("Child 1"),COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("12/27/2010",213)));
		com_Items.Caption(com_Items.Add("Child 2"),COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("12/28/2010",213)));
		h = com_Items.Add("Root 2");
		com_Items.Caption(com_Items.Add("Child 1"),COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("12/29/2010",213)));
		com_Items.Caption(com_Items.Add("Child 2"),COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("12/30/2010",213)));
	exlist1.ApplyFilter();
	exlist1.EndUpdate();
}
435
Is it possible exclude the dates being selected in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Date")); com_Column = var_Column;
		com_Column.SortType(2/*SortDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterList(9474/*exShowExclude | exShowFocusItem | exShowCheckBox | exNoItems*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add(COMVariant::createFromDate(str2Date("12/27/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/28/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/29/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/30/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/31/2010",213)));
	exlist1.EndUpdate();
}
434
How can I display a calendar control inside the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Date")); com_Column = var_Column;
		com_Column.SortType(2/*SortDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterList(1282/*exShowFocusItem | exShowCheckBox | exNoItems*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add(COMVariant::createFromDate(str2Date("12/27/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/28/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/29/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/30/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/31/2010",213)));
	exlist1.EndUpdate();
}
433
Is it possible to include the dates as checkb-boxes in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Dates")); com_Column = var_Column;
		com_Column.SortType(2/*SortDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(true);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterList(1280/*exShowFocusItem | exShowCheckBox*/);
		com_Column.Filter("to 12/27/2010");
		com_Column.FilterType(4/*exDate*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add(COMVariant::createFromDate(str2Date("12/27/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/28/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/29/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/30/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/31/2010",213)));
	exlist1.ApplyFilter();
	exlist1.EndUpdate();
}
432
How can I filter items for dates before a specified date

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Dates")); com_Column = var_Column;
		com_Column.SortType(2/*SortDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(true);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterList(1026/*exShowFocusItem | exNoItems*/);
		com_Column.Filter("to 12/27/2010");
		com_Column.FilterType(4/*exDate*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add(COMVariant::createFromDate(str2Date("12/27/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/28/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/29/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/30/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/31/2010",213)));
	exlist1.ApplyFilter();
	exlist1.EndUpdate();
}
431
Is it possible to filter dates

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Dates")); com_Column = var_Column;
		com_Column.SortType(2/*SortDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(true);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterList(1026/*exShowFocusItem | exNoItems*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add(COMVariant::createFromDate(str2Date("12/27/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/28/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/29/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/30/2010",213)));
		com_Items.Add(COMVariant::createFromDate(str2Date("12/31/2010",213)));
	exlist1.EndUpdate();
}
430
Is it possible to change the Exclude field name to something different, in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.Description(25/*exFilterBarExclude*/,"Leaving out");
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(9472/*exShowExclude | exShowFocusItem | exShowCheckBox*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("Root 1");
		com_Items.Add("Child 1");
		com_Items.Add("Child 2");
		h = com_Items.Add("Root 2");
		com_Items.Add("Child 1");
	exlist1.EndUpdate();
}
429
How can I display the Exclude field in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(9472/*exShowExclude | exShowFocusItem | exShowCheckBox*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("Root 1");
		com_Items.Add("Child 1");
		com_Items.Add("Child 2");
		h = com_Items.Add("Root 2");
		com_Items.Add("Child 1");
	exlist1.EndUpdate();
}
428
Is it possible to show and ensure the focused item from the control, in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(1280/*exShowFocusItem | exShowCheckBox*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("Root 1");
		com_Items.Add("Child 1");
		com_Items.Add("Child 2");
		h = com_Items.Add("Root 2");
		com_Items.Add("Child 1");
		com_Items.SelectItem(com_Items.Add("Child 2"),true);
	exlist1.EndUpdate();
}
427
Is it possible to show only blanks items with no listed items from the control

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(16386/*exShowBlanks | exNoItems*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("Root 1");
		com_Items.Add("Child 1");
		com_Items.Add("Child 2");
		h = com_Items.Add("Root 2");
		com_Items.Add("Child 1");
		com_Items.Add("Child 2");
	exlist1.EndUpdate();
}
426
How can I include the blanks items in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(16640/*exShowBlanks | exShowCheckBox*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("Root 1");
		com_Items.Add("Child 1");
		com_Items.Add("Child 2");
		h = com_Items.Add("Root 2");
		com_Items.Add("Child 1");
		com_Items.Add("Child 2");
	exlist1.EndUpdate();
}
425
How can I select multiple items in the drop down filter window, using check-boxes

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(256/*exShowCheckBox*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("Root 1");
		com_Items.Add("Child 1");
		com_Items.Add("Child 2");
		h = com_Items.Add("Root 2");
		com_Items.Add("Child 1");
		com_Items.Add("Child 2");
	exlist1.EndUpdate();
}
424
Is it possible to allow a single item being selected in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(128/*exSingleSel*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("Root 1");
		com_Items.Add("Child 1");
		com_Items.Add("Child 2");
		h = com_Items.Add("Root 2");
		com_Items.Add("Child 1");
		com_Items.Add("Child 2");
	exlist1.EndUpdate();
}
423
How can I display no (All) item in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.Description(0/*exFilterBarAll*/,"");
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(true);
		com_Column.FilterList(2/*exNoItems*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("Root 1");
		com_Items.Add("Child 1");
		com_Items.Add("Child 2");
		h = com_Items.Add("Root 2");
		com_Items.Add("Child 1");
		com_Items.Add("Child 2");
	exlist1.EndUpdate();
}
422
Is it possible to display no items in the drop down filter window, so only the pattern is visible

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(true);
		com_Column.FilterList(2/*exNoItems*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("Root 1");
		com_Items.Add("Child 1");
		com_Items.Add("Child 2");
		h = com_Items.Add("Root 2");
		com_Items.Add("Child 1");
		com_Items.Add("Child 2");
	exlist1.EndUpdate();
}
421
How can I sort the value gets listed in the drop down filter window

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	int h;
	;

	super();

	exlist1.MarkSearchColumn(false);
	exlist1.Description(0/*exFilterBarAll*/,"");
	exlist1.Description(1/*exFilterBarBlanks*/,"");
	exlist1.Description(2/*exFilterBarNonBlanks*/,"");
	var_Column = COM::createFromVariant(exlist1.Columns().Add("P1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(16/*exSortItemsDesc*/);
	var_Column1 = COM::createFromVariant(exlist1.Columns().Add("P2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.DisplayFilterPattern(false);
		com_Column1.FilterList(32/*exSortItemsAsc*/);
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("Z3");
		com_Items.Caption(h,COMVariant::createFromInt(1),"C");
		com_Items.Caption(com_Items.Add("Z1"),COMVariant::createFromInt(1),"B");
		com_Items.Caption(com_Items.Add("Z2"),COMVariant::createFromInt(1),"A");
}
420
How can I add or change the padding (spaces) for captions in the control's header

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	exlist1.BeginUpdate();
	COM::createFromVariant(exlist1.Columns().Add("Padding-Left")).Def(52/*exHeaderPaddingLeft*/,COMVariant::createFromInt(18));
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Padding-Right")); com_Column = var_Column;
		com_Column.Def(53/*exHeaderPaddingRight*/,COMVariant::createFromInt(18));
		com_Column.HeaderAlignment(2/*RightAlignment*/);
	exlist1.EndUpdate();
}
419
Do you have any plans to add cell spacing and cell padding to the cells

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.DrawGridLines(-2/*0xfffffffe | exVLines*/);
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Padding-Left")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.Def(48/*exCellPaddingLeft*/,COMVariant::createFromInt(18));
	COM::createFromVariant(exlist1.Columns().Add("No-Padding")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	COM::createFromVariant(exlist1.Columns().Add("Empty")).Position(0);
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Caption(com_Items.Add("Item A.1"),COMVariant::createFromInt(1),"Item A.2");
		com_Items.Caption(com_Items.Add("Item B.1"),COMVariant::createFromInt(1),"Item B.2");
		com_Items.Caption(com_Items.Add("Item C.1"),COMVariant::createFromInt(1),"Item C.2");
	exlist1.EndUpdate();
}
418
Is it possible display numbers in the same format no matter of regional settings in the control panel

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	COM::createFromVariant(exlist1.Columns().Add("Def")).Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add(COMVariant::createFromReal(100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default positive)'");
		h = com_Items.Add(COMVariant::createFromReal(100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '2|.|3|,|1|1')");
		h = com_Items.Add(COMVariant::createFromReal(-100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default negative)'");
		h = com_Items.Add(COMVariant::createFromReal(-100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '2|.|3|,|1|1')");
	exlist1.EndUpdate();
}
417
Is it possible to add a 0 for numbers less than 1 instead .7 to show 0.8

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	COM::createFromVariant(exlist1.Columns().Add("Def")).Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add(COMVariant::createFromReal(0.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default)'");
		h = com_Items.Add(COMVariant::createFromReal(0.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '|||||0') +  ' <fgcolor=808080>(Display no leading zeros)'");
	exlist1.EndUpdate();
}
416
How can I specify the format for negative numbers

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	COM::createFromVariant(exlist1.Columns().Add("Def")).Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add(COMVariant::createFromReal(-100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default)'");
		h = com_Items.Add(COMVariant::createFromReal(-100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '||||1') +  ' <fgcolor=808080>(Negative sign, number; for example, -1.1)'");
	exlist1.EndUpdate();
}
415
Is it possible to change the grouping character when display numbers

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	COM::createFromVariant(exlist1.Columns().Add("Def")).Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add(COMVariant::createFromReal(100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default)'");
		h = com_Items.Add(COMVariant::createFromReal(100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '|||-') +  ' <fgcolor=808080>(grouping character is -)'");
	exlist1.EndUpdate();
}
414
How can I display numbers with 2 digits in each group

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	COM::createFromVariant(exlist1.Columns().Add("Def")).Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add(COMVariant::createFromReal(100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default)'");
		h = com_Items.Add(COMVariant::createFromReal(100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '||2') +  ' <fgcolor=808080>(grouping by 2 digits)'");
	exlist1.EndUpdate();
}
413
How can I display my numbers using a different decimal separator

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	COM::createFromVariant(exlist1.Columns().Add("Def")).Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add(COMVariant::createFromReal(100.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default)'");
		h = com_Items.Add(COMVariant::createFromReal(100.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '|;') +  ' <fgcolor=808080>(decimal separator is <b>;</b>)'");
	exlist1.EndUpdate();
}
412
Is it possible to display the numbers using 3 (three) digits

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exlist1.BeginUpdate();
	COM::createFromVariant(exlist1.Columns().Add("Def")).Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add(COMVariant::createFromReal(100.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default)'");
		h = com_Items.Add(COMVariant::createFromReal(100.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '3') +  ' <fgcolor=808080>(3 digits)'");
		h = com_Items.Add(COMVariant::createFromReal(100.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format 2) +  '  <fgcolor=808080>(2 digits)'");
		h = com_Items.Add(COMVariant::createFromReal(100.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format 1) +  ' <fgcolor=808080>(1 digit)'");
	exlist1.EndUpdate();
}
411
Is it possible to format numbers

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Column3,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Column2,var_Column3,var_Columns,var_Items;
	int h;
	str var_s;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.MarkSearchColumn(false);
	exlist1.SelBackColor(exlist1.BackColor());
	exlist1.SelForeColor(exlist1.ForeColor());
	exlist1.ShowFocusRect(true);
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Name");
		var_Column = COM::createFromVariant(com_Columns.Add("A")); com_Column = var_Column;
			com_Column.SortType(1/*SortNumeric*/);
			com_Column.AllowSizing(false);
			com_Column.Width(36);
			com_Column.FormatColumn("len(value) ? value + ' +'");
		var_Column1 = COM::createFromVariant(com_Columns.Add("B")); com_Column1 = var_Column1;
			com_Column1.SortType(1/*SortNumeric*/);
			com_Column1.AllowSizing(false);
			com_Column1.Width(36);
			com_Column1.FormatColumn("len(value) ? value + ' +'");
		var_Column2 = COM::createFromVariant(com_Columns.Add("C")); com_Column2 = var_Column2;
			com_Column2.SortType(1/*SortNumeric*/);
			com_Column2.AllowSizing(false);
			com_Column2.Width(36);
			com_Column2.FormatColumn("len(value) ? value + ' ='");
		var_Column3 = COM::createFromVariant(com_Columns.Add("A+B+C")); com_Column3 = var_Column3;
			com_Column3.SortType(1/*SortNumeric*/);
			com_Column3.Width(64);
			com_Column3.ComputedField("dbl(%1)+dbl(%2)+dbl(%3)");
			var_s = "type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=000";
			var_s = var_s + "0FF>+'+(value format '2|.|3|,' ): '0.00') )";
			com_Column3.FormatColumn(var_s);
			com_Column3.Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exlist1.Items(); com_Items = var_Items;
		h = com_Items.Add("Item");
		com_Items.CaptionFormat(h,COMVariant::createFromInt(4),2/*exComputedField*/);
		h = com_Items.Add("Item 1");
		com_Items.Caption(h,COMVariant::createFromInt(1),COMVariant::createFromInt(7));
		com_Items.Caption(h,COMVariant::createFromInt(2),COMVariant::createFromInt(3));
		com_Items.Caption(h,COMVariant::createFromInt(3),COMVariant::createFromInt(1));
		h = com_Items.Add("Item 2");
		com_Items.Caption(h,COMVariant::createFromInt(1),COMVariant::createFromInt(-2));
		com_Items.Caption(h,COMVariant::createFromInt(2),COMVariant::createFromInt(-2));
		com_Items.Caption(h,COMVariant::createFromInt(3),COMVariant::createFromInt(-4));
		h = com_Items.Add("Item 3");
		com_Items.Caption(h,COMVariant::createFromInt(1),COMVariant::createFromInt(2));
		com_Items.Caption(h,COMVariant::createFromInt(2),COMVariant::createFromInt(2));
		com_Items.Caption(h,COMVariant::createFromInt(3),COMVariant::createFromInt(-4));
	exlist1.EndUpdate();
}
410
Is it possible background color displayed when the mouse passes over an item

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.Columns().Add("Def");
	exlist1.HotBackColor(WinApi::RGB2int(0,0,128));
	exlist1.HotForeColor(WinApi::RGB2int(255,255,255));
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item A");
		com_Items.Add("Item B");
		com_Items.Add("Item C");
	exlist1.EndUpdate();
}
409
Is it possible to specify the cell's value but still want to display some formatted text instead the value

public void init()
{
	COM com_Column,com_Columns,com_Items;
	anytype var_Column,var_Columns,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.MarkSearchColumn(false);
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Name");
		var_Column = COM::createFromVariant(com_Columns.Add("Values")); com_Column = var_Column;
			com_Column.SortType(1/*SortNumeric*/);
			com_Column.AllowSizing(false);
			com_Column.Width(64);
			com_Column.FormatColumn("((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)");
			com_Column.Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.FormatCell(com_Items.Add("Item A"),COMVariant::createFromInt(1),"`<none>`");
		com_Items.Caption(com_Items.Add("Item 1"),COMVariant::createFromInt(1),COMVariant::createFromInt(10));
		com_Items.Caption(com_Items.Add("Item 2"),COMVariant::createFromInt(1),COMVariant::createFromInt(15));
		com_Items.Caption(com_Items.Add("Item 3"),COMVariant::createFromInt(1),COMVariant::createFromInt(25));
	exlist1.EndUpdate();
}
408
I am using the FormatColumn to display the current currency, but would like hide some values. Is it possible

public void init()
{
	COM com_Column,com_Columns,com_Items;
	anytype var_Column,var_Columns,var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.MarkSearchColumn(false);
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Name");
		var_Column = COM::createFromVariant(com_Columns.Add("Values")); com_Column = var_Column;
			com_Column.SortType(1/*SortNumeric*/);
			com_Column.AllowSizing(false);
			com_Column.Width(64);
			com_Column.FormatColumn("((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)");
			com_Column.Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.FormatCell(com_Items.Add("Item A"),COMVariant::createFromInt(1)," ");
		com_Items.Caption(com_Items.Add("Item 1"),COMVariant::createFromInt(1),COMVariant::createFromInt(10));
		com_Items.Caption(com_Items.Add("Item 2"),COMVariant::createFromInt(1),COMVariant::createFromInt(15));
		com_Items.Caption(com_Items.Add("Item 3"),COMVariant::createFromInt(1),COMVariant::createFromInt(25));
	exlist1.EndUpdate();
}
407
I am using the FormatColumn to format my columns. Is it possible to ignore the SelForeColor, so the foreground color for selected items does not override my settings

// SelectionChanged event - Fired after a new item is selected.
void onEvent_SelectionChanged()
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.ClearItemBackColor(-1);
		com_Items.ItemBackColor(com_Items.SelectedItem(0),WinApi::RGB2int(128,255,255));
}

public void init()
{
	COM com_Column,com_Columns,com_Items;
	anytype var_Column,var_Columns,var_Items;
	str var_s;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.MarkSearchColumn(false);
	exlist1.SelForeColor(exlist1.ForeColor());
	exlist1.SelBackColor(exlist1.BackColor());
	exlist1.ShowFocusRect(false);
	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("Format")); com_Column = var_Column;
			var_s = "type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=000";
			var_s = var_s + "0FF>+'+(value format '2|.|3|,' ): '0.00') )";
			com_Column.FormatColumn(var_s);
			com_Column.Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add(COMVariant::createFromInt(10));
		com_Items.Add(COMVariant::createFromInt(-8));
	exlist1.EndUpdate();
}
406
Is it possible to change the height for all items at once

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.Columns().Add("Items");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.Add("Item 2");
		com_Items.Add("Item 3");
		com_Items.Add("Item 4");
	exlist1.EndUpdate();
	exlist1.DefaultItemHeight(12);
	exlist1.Items().ItemHeight(-1,12);
}
405
How can I change the shape of the line to be shown when user drag and drop data over the control

// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.OLEDropMode(1/*exOLEDropManual*/);
	exlist1.VisualAppearance().Add(1,"C:\\Program Files\\Exontrol\\ExList\\Sample\\VB\\DragDrop\\insert_bottom.ebn");
	exlist1.Background(96/*exListOLEDropPosition*/,0x1000000);
	exlist1.Columns().Add("Default");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.Add("Item 2");
}
404
How can I highlight the item from cursor when the user drag and drop data over the control

// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.OLEDropMode(1/*exOLEDropManual*/);
	exlist1.Background(96/*exListOLEDropPosition*/,WinApi::RGB2int(1,0,0));
	exlist1.Columns().Add("Default");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.Add("Item 2");
}
403
How can I start drag and drop items

// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exlist1.BeginUpdate();
	exlist1.OLEDropMode(1/*exOLEDropManual*/);
	exlist1.Columns().Add("Default");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("Item 1");
		com_Items.Add("Item 2");
	exlist1.EndUpdate();
}
402
When I'm trying to show string with "line break" character (vbCrLF) in a textbox, it shows 2 squares. Is there any way to hide these squares

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Column2,var_Columns,var_Items;
	;

	super();

	var_Columns = exlist1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Value");
		var_Column = COM::createFromVariant(com_Columns.Add("CellSingleLine = False")); com_Column = var_Column;
			com_Column.ComputedField("%0");
			com_Column.Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false));
		var_Column1 = COM::createFromVariant(com_Columns.Add("FormatColumn/replace CRLF")); com_Column1 = var_Column1;
			com_Column1.ComputedField("%0");
			com_Column1.FormatColumn("value replace `\\r\\n` with ``");
		var_Column2 = COM::createFromVariant(com_Columns.Add("FormatColumn/replace TAB,CRLF")); com_Column2 = var_Column2;
			com_Column2.ComputedField("%0");
			com_Column2.FormatColumn("(value replace `\\t` with ``) replace `\\r\\n` with ``");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("a\\ta\\r\\nb\\tb");
}
401
The Column.Alignment property does not seem to work for cells with images in them. What can be done

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	str var_s;
	;

	super();

	exlist1.BeginUpdate();
	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exlist1.Images(COMVariant::createFromStr(var_s));
	exlist1.DrawGridLines(-1/*exAllLines*/);
	exlist1.HeaderHeight(24);
	exlist1.DefaultItemHeight(24);
	var_Column = COM::createFromVariant(exlist1.Columns().Add("Image")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.Width(32);
		com_Column.HTMLCaption("<img>1</img>");
		com_Column.HeaderAlignment(1/*CenterAlignment*/);
		com_Column.Alignment(1/*CenterAlignment*/);
		com_Column.Def(17/*exCaptionFormat*/,COMVariant::createFromInt(1));
	exlist1.Columns().Add("Rest");
	var_Items = exlist1.Items(); com_Items = var_Items;
		com_Items.Add("<img>1</img>");
		com_Items.Add("<img>2</img>");
		com_Items.Add("<img>3</img>");
	exlist1.EndUpdate();
}